package lua;

/**
 * @author deity
 * @version 1.0
 * @date 2020/11/7 13:53
 */
public class UserCredentialImpl implements IUserCredential {
    @Override
    public String verifyUser(String userName) {
        if ("admin".equals(userName)) {
            return "系统管理员";
        } else if ("manager".equals(userName)) {
            return "用户管理员";
        }
        return "普通会员";
    }
}
